<!DOCTYPE html>
<html>
<head>
    <title>E姐姐方案生成</title>
    <link rel="stylesheet" href="../static/css/ej.css">
    <link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> 
</head>
<body style="background-color:#fffbf6">
    <!-- 登录状态显示 -->
    <div style="text-align:right; padding:10px; background-color:#f0f0f0; border-bottom:1px solid #ddd;">
        {% if session.get('logged_in') %}
            <span style="color:green; font-weight:bold;">已登录: {{ session.get('username') }}</span>
            <a href="{{ url_for('logout') }}" style="margin-left:15px; color:#666; text-decoration:none;">退出</a>
        {% else %}
            <span style="color:red; font-weight:bold;">未登录</span>
            <a href="{{ url_for('login') }}" style="margin-left:15px; color:#666; text-decoration:none;">登录</a>
        {% endif %}
    </div>
    
    <div id="container" style="text-align:center;align-items: center;">
        <div id="dateAndWeekday" style="color:rgb(171, 176, 179); font-size:20px; margin-bottom: 10px;"></div>
   
        <div style="width:200px;height:60px;background:#f3d9ea;margin:10px;">
            <div class="cover-button" ><a href='./riyun_input' style="color:rgb(124, 69, 115)">输入日运</a></div>
        </div>
        
        <div style="width:200px;height:60px;background:#d9f3df;margin:10px;">
            <div class="cover-button"><a href='./generate_riyun' style="color:rgb(69, 124, 96)">生成日运</a></div>
        </div>

        <!-- <div style="width:200px;height:60px;background:#d9e9f3;margin:10px;">
            <div class="cover-button"><a href='./suibi' style="color:rgb(69, 102, 124)">生成随笔文案</a></div>
        </div> -->

    </div>   
    <script src="../static/js/common.js"></script>
    <script>
        let weekday;
        document.addEventListener('DOMContentLoaded',function(){
            weekday=showDateandWeekDay("dateAndWeekday");
            
        });
    </script>
</body>
</html>
